home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2006 May
/
PCWMAY06.iso
/
Software
/
Freeware
/
First Page 2006 3.00
/
fp2006-final-3.00-setup.exe
/
{app}
/
Iscripts
/
Forms Misc
/
parse-text.izs
< prev
next >
Wrap
Text File
|
2005-09-28
|
2KB
|
103 lines
<!NOWIZARD>
<!TITLE>Parse Text
<!/TITLE>
<!DESCRIPTION>Quickly and easily convert text into a JavaScript string. <!/DESCRIPTION>
<!CATEGORY>Forms<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<!-- HOW TO INSTALL PARSE TEXT (Page 1 of 2):
1. Copy code into the HEAD section of document
2. Put last coding into the BODY section of document -->
<!-- STEP ONE: Add code into HEAD section of document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chu Alan -->
<!-- Web Site: http://www.methylated-spirit.com -->
<!-- Begin
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? true : false;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
}
var resultWnd
function parsetext(form) {
resultWnd = open("parse-result.html", null, "toolbar=no,menubar=no,width=600,height=150,screenX=0,screenY=0");
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Add code into BODY section of document -->
<BODY>
<FORM action="" onSubmit="parsetext(this) ; return false">
<TEXTAREA name="texttoparse" rows="10" cols="50"></TEXTAREA><BR><BR>
<INPUT type="submit" value=" Parse text " style="font: 12pt Verdana">
</FORM>
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!PREVIEW>
<!-- START OF SCRIPT -->
<!-- HOW TO INSTALL PARSE TEXT (Page 1 of 2):
1. Copy code into the HEAD section of document
2. Put last coding into the BODY section of document -->
<!-- STEP ONE: Add code into HEAD section of document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chu Alan -->
<!-- Web Site: http://www.methylated-spirit.com -->
<!-- Begin
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? true : false;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
}
var resultWnd
function parsetext(form) {
resultWnd = open("parse-result.html", null, "toolbar=no,menubar=no,width=600,height=150,screenX=0,screenY=0");
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Add code into BODY section of document -->
<BODY>
<FORM action="" onSubmit="parsetext(this) ; return false">
<TEXTAREA name="texttoparse" rows="10" cols="50"></TEXTAREA><BR><BR>
<INPUT type="submit" value=" Parse text " style="font: 12pt Verdana">
</FORM>
<!-- END OF SCRIPT -->
<!/PREVIEW>
<!RELATED>NONE<!/RELATED>